#ifndef _EVADE_H_
#define _EVADE_H_

#include "Flee.h"

namespace Engine
{
	namespace SteeringBehaviourTypes
	{
		const unsigned int Evade = Hash("Evade");
	}

	class Evade : public Flee
	{
		public:
			float m_maxPrediction, prediction;
			Agent* m_actualTarget;

		public:
			Evade();

			void SetMaxPrediction(float m);

			void SetTarget(Agent* t);
			void Update(SteeringOutput* output);
			const char* GetTypeName() const {return "Evade";}
			unsigned int GetHash() const {return SteeringBehaviourTypes::Evade;}

			//~Evade();
	};
}

#endif